get working directory c#

74

get current directory c# \ -

System.IO.Path.GetDirectoryName(Assembly.GetEntryAssembly().Location);

get execution directory c# -

string logsDirectory = Path.Combine(Environment.CurrentDirectory, "logs");

Comments

Submit
0 Comments